import java.util.Scanner;


public class zad6 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		System.out.println("Enter A: ");
		int a = sc.nextInt();
		System.out.println("Enter B: ");
		int b = sc.nextInt();
		for (int i=a; i<=b; i++)
		{
			if(i%3==0)
			{
				System.out.println("Skip 3");
			}
			System.out.println(i*i);
		}

	}

}
